#ifndef __CPPTUTORSTRUCTURE_H__
#define __CPPTUTORSTRUCTURE_H__

#include "cppTutorGlobals.h"

class CcppTutorStructure
{
	private:
	#ifdef SIMPLE_STRUCTURE
		struct Structure1 {
			char c;
			int i;
			float f;
			double d;
		};
	#endif //SIMPLE_STRUCTURE

	#ifdef TYPEDEF_WITH_STRUCT
		typedef struct 
		{
			char c;
			int i;
			float f;
			double d;
		} Structure2;
	#endif //TYPEDEF_WITH_STRUCT

	#ifdef POINTERS_TO_STRUCTS
		typedef struct Structure3 
		{
			char c;
			int i;
			float f;
			double d;
		} Structure3;
	#endif //POINTERS_TO_STRUCTS

	public:
		CcppTutorStructure ();
	   ~CcppTutorStructure ();
	
	#ifdef SIMPLE_STRUCTURE
	    void m_SimpleStructure ();
	#endif //SIMPLE_STRUCTURE

	#ifdef TYPEDEF_WITH_STRUCT
		void m_TypedefWithStructure ();
	#endif //TYPEDEF_WITH_STRUCT

	#ifdef POINTERS_TO_STRUCTS
		void m_PointerToStructure ();
	#endif //POINTERS_TO_STRUCTS
};

#endif //__CPPTUTORSTRUCTURE_H__